<?php defined('BASEPATH') or exit('No direct script access allowed'); ?>

<?php 
	$thread_id = $this->input->post('thread_id',TRUE);
	$username = $this->input->post('username',TRUE);
?> 
<form action="<?php echo site_url('agent/async/submit_send_message_reply_thread');?>" name="submit_send_message_reply_thread" id="submit_send_message_reply_thread" method="post" enctype="multipart/form-data" >		
	<div id="wrap-delete-item">	
		
		<div class="dashboard-info-wrapper">
			<div class="dashboard-info-left" style="width:100px;">
				<span>
					<?php echo language_translate('send_message_lable');?>
				</span>
			</div>		
			<div class="dashboard-info-right" style="width:360px;">
				<textarea id="message_textarea" name="message_textarea" style="width:350px;height:200px"></textarea>
			</div>
			<div class="clear"></div>	
		</div>

		<div class="dashboard-info-wrapper">
			<div class="dashboard-info-left">
				&nbsp;
			</div>
			<div class="dashboard-info-right"> 
				<div class="select-box">
					<input type="submit" class="save-button" value="<?php echo language_translate('message_send_button');?>" /> 
					<?php echo loader_image("class='loading_update_image hidden'");?>
				</div>
			 </div>
			<div class="clear"></div>
		</div>	 
	</div>

	<div class="dashboard-info-wrapper">
		<div id="update-message" class="message-status"><?php echo language_translate('message_send_successfully_message');?></div>
		<div class="clear"></div>
	</div>

	<input type="hidden" value="<?php echo $thread_id;?>" id="thread_id" name="thread_id" />
	<input type="hidden" value="<?php echo $username;?>" id="username" name="username" />

</form>

<?php exit;?>